<template>
  <div class="bg404" :style="hi">
    <img :src="imgbg" alt />
    <div class="add" @click="gobacke">点击返回上一页</div>
  </div>
</template>
<script>
import imgbg from "../assets/images/101.jpg";
export default {
  name: "notfind",
  data() {
    return {
      imgbg: imgbg,
      hi: ""
    };
  },
  mounted() {
    let hi = window.innerHeight;
    this.hi = {
      height: hi + "px"
    };
  },
  methods: {
    gobacke() {
      this.$router.go(-1);
    }
  }
};
</script>
